GDK_WINDOW_TYPE does a runtime typecheck, don't call it unnecessary
authorAlexander Larsson <alexl@redhat.com>
Sat, 18 Jul 2009 13:04:06 +0000 (15:04 +0200)
committerAlexander Larsson <alexl@redhat.com>
Sat, 18 Jul 2009 13:06:27 +0000 (15:06 +0200)
commitdb4dabf5e7a934bbf71c7ffc6be6edc83f0b54fe
treed4bcc7ba6332140ae147ed537c9c2359e4aed0e1
parentcf08a43eaa6c67c50e0557888dd72354d6e70895
GDK_WINDOW_TYPE does a runtime typecheck, don't call it unnecessary

Looking at a profile the typecheck from GDK_WINDOW_TYPE stood out quite
a bit, which is fixed by not using it unnecessarily.
gdk/gdkwindow.c